package com.cvs.model;

import java.util.Date;
import javax.persistence.Id;

import com.googlecode.objectify.annotation.Entity;

@Entity (name="User")
public class UserEntity {

	@Id 
	private Long id;
	
	private Date date;
	
	private String firstName, lastName, password;

	private String userName;
	
	private int accessLevel;
	
	private String groupName;
	
	private String emailAddress;
	
	private int allocation;
	
	private int originalAllocation;
	
	public int getOriginalAllocation() {
		return originalAllocation;
	}

	public void setOriginalAllocation(int originalAllocation) {
		this.originalAllocation = originalAllocation;
	}

	public int getAllocation() {
		return allocation;
	}

	public void setAllocation(int allocation) {
		this.allocation = allocation;
	}

	public String getEmailAddress() {
		return emailAddress;
	}

	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public int getAccessLevel() {
		return accessLevel;
	}

	public void setAccessLevel(int accessLevel) {
		this.accessLevel = accessLevel;
	}
	
	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
}

